home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d27
/
isemu100.arc
/
ISEMU.DOC
next >
Wrap
Text File
|
1991-12-04
|
3KB
|
64 lines
╔════════════════════════════════════════════════════════════════════╗
║ ║
║ ISEMU (Is Emulation Loaded?) Version 1.0 ║
║ Copyright (c) 1991 Kevin Watkins ║
║ ║
╚════════════════════════════════════════════════════════════════════╝
ISEMU.EXE is public domain. ISEMU.C is copyrighted and only available
by registering.
This is my first attempt at 5250 -> PC programming using C. This
program is a conversion of part of the BASIC code found with IBM's
5250 emulation. It is written in Turbo C++. The source code can be
had for $5. There are no guarantees, but I would appreciate it if you
let me know if you have any problems or ideas for enhancements.
My purpose for writing this program was to determine if Emulation was
loaded and if not exit with an errorlevel in order that it could be
loaded before continuing. I have quite a few automated routines that
run through out the day.
ISEMU checks the interrupt vectors for the IL5 segment address of
emulation located at 0000:0036. With that address it then checks the
offset for the EC level stamp which begins with "EC" at offset 0x148.
The next five bytes contain the actual version number of the emulation
package.
Also checked is the SYSAV byte (offset 0x015B) and the program will
display whether or not the system available indicator is on or not as
well as exit with an errorlevel.
ISEMU exits with the following errorlevels:
0 Emulation loaded and system available
1 Emulation not loaded/EC version info corrupt
2 Emulation loaded/system NOT available
Registering ISEMU gets you free updates and the source code. To
register send $5 to:
J. Kevin Watkins, CDP
Watkins Consulting Group
PO Box 931
Jonesboro, AR 72403-0931
╔════════════════════════════════════════════════════════════════════╗
║ ║
║ ISEMU (Is Emulation Loaded?) Version 1.0 ║
║ Copyright (c) 1991 Kevin Watkins ║
║ ║
╚════════════════════════════════════════════════════════════════════╝